<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>可用IP列表</title>
        <link
            rel="shortcut icon"
            href="./img/hdd-network-fill.svg"
            type="image/x-icon"
        />
        <link rel="stylesheet" href="./css/index.min.css" />
        <style>
            @keyframes fadeOut {
                from {
                    opacity: 1;
                }
                to {
                    opacity: 0;
                }
            }
            * {
                padding: 0;
                margin: 0;
            }
            .ml-10 {
                margin-left: 10px;
            }
            .mb-20 {
                margin-bottom: 20px !important;
            }
            .mb-10 {
                margin-bottom: 10px !important;
            }
            .mr-10 {
                margin-right: 10px !important;
            }
            .mt-20vh {
                margin-top: 20vh !important;
            }
            .el-input {
                width: 200px !important;
            }
            .tag{
                border-radius: 8px;
                font-size: 16px;
                padding: 4px;
                color: #fff
            }
            .tag.front{
                background-color: #67C23A;
            }
            .tag.back{
                background-color: #409EFF;
            }
            .row {
                width: 60vw;
                line-height: 1.8;
                font-size: 20px;
                font-weight: 500;
                margin: auto;
                cursor: pointer;
            }
            .ip-list .row::after {
                content: "点击即可复制";
                display: inline-block;
                margin-left: 10px;
            }
            .copy_tip {
                position: absolute;
                display: none;
                font-size: 30px;
                font-weight: 600;
                color: black;
                animation: fadeOut linear 0.6s forwards;
            }
        </style>
    </head>
    <body>
        <div
            class="row mt-20vh mb-10"
            style="display: flex; align-items: center"
        >
            姓名
            <div class="el-input mr-10 ml-10">
                <input class="el-input__inner" type="text" id="uname" />
            </div>
            端口号
            <div class="el-input ml-10">
                <input class="el-input__inner" min="0" max="65535" type="number" id="uport" />
            </div>
            <div class="ml-10">
                 <input id="radio1" name="isBack" type="radio"/><label for="radio1">后端</label>
                <input id="radio2" name="isBack" type="radio"/><label for="radio2">前端</label> 
            </div>
            <button
                class="el-button el-button--success ml-10"
                onclick="submitIp()"
            >
                提交
            </button>
        </div>
        <!-- <h1 class="row">
        提交请访问以下地址
    </h1>
   
    <h1 class="row href mb-20">
    </h1> -->
        <div class="ip-list"></div>
        <div class="copy_tip">复制成功</div>
        <script src="./js/index.js"></script>
    </body>
</html>
